<template>
	<view>
		<image v-for="(item,index) in imglist" :key='index' :src="item" mode="widthFix"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				imglist:[]
			};
		},
		onLoad(o) {
			console.log(o);
			uni.setNavigationBarTitle({
				title:o.title
			})
			this.imglist = JSON.parse(o.img)
		}
	}
</script>

<style lang="scss">
	image{
		width: 100%;
		vertical-align: middle;
	}
</style>
